@import './config.scss';
.primaryBut{
    padding: 8px 15px;
    color: #1890FF;
    font-size: 16px;
    border: 1px solid #1890FF;
    border-radius: 4px;
    cursor: pointer;
  }
.el-drawer__header {
  color: #333333 !important;
  font-weight: bold;
  padding: 0px 20px 0px !important;
  line-height: 50px;
  border-bottom: 1px solid #DDD !important;
i{
  font-weight: bold;
  color: #333333;
}
}
.footer-input {
  width: 100%;
  margin-top: -22px;
  margin-bottom: -2px;
}
.el-drawer__open{
  :focus {
    outline: 0;
  }

}
.editDrawer-wrapper .el-drawer__wrapper .el-drawer {
    width: fit-content !important;
  .el-drawer__body{
    margin-top: -18px;
    padding-left: 50px;
    padding-right: 50px;
      overflow: auto;
  }

    .el-input__inner{
      width: 320px;
}
    .el-input.is-disabled input{
        background: #EEEEEE;
        color: #999999;
    }
//.el-select{
//  width: 320px !important;
//}
.el-input-number{
  line-height: 35px;
  .el-input__inner{
    width: 180px;
    min-width: 180px !important;
  }
}
  .el-input-number.is-controls-right .el-input-number__decrease{
    height:16px;
    line-height: 16px;
  }
.el-input-number.is-controls-right .el-input-number__increase {
  height: 16px;
  top: 3px;
  line-height: 16px;
}

}
.footer-input{
  width: 140px;
  margin: 0 auto;
}

.header-form{
  .el-form-item{
    margin-bottom: 20px;
    .el-input__inner{
      width: 230px;
    }
    .el-button.el-button--primary{
      margin-left: 40px;
    }
  }
}

.drawerForm-wrapper{
  .el-drawer.rtl{
    width: fit-content !important;

    .el-drawer__header{
      margin-bottom: 30px;
    }
  }
  .el-drawer__body{
    padding: 0 30px;
      overflow: auto;
  }
  .el-drawer__wrapper .el-drawer__body .el-form{
    .el-form-item{
      margin-bottom: 20px;
      .el-form-item__label,.el-form-item__content{
        line-height: 32px;
      }
      .el-input {
        width: inherit;
        height: 32px;

        input {
          height: 32px;
          border: 1px solid #AAAAAA;
          border-radius: 4px;
          color: #333333;
        }
        .el-input__inner{
          width: 300px;
        }

        input:hover, input:focus {
          border-color: $--color-primary-liyu;
        }
        //
        //.el-input__inner::-webkit-input-placeholder {
        //  color: #999999;
        //}
        //.el-textarea__inner::-webkit-input-placeholder {
        //  color: #999999;
        //}
      }
        .el-input.is-disabled input{
            background: #EEEEEE;
            color: #999999;
        }
      .avatar-uploader .el-upload{
        margin-left: 0;
      }
      .el-input.el-input--suffix{
        width: 300px;
      }
      .el-textarea{
        .el-textarea__inner{
          width: 300px;
          resize: none;
          height: 92px;
          border: 1px solid #AAAAAA;
          border-radius: 4px;
          padding: 5px 10px;
          font-family:Arial;
        }
      }
    }



  }
}

.input-wrapper.el-input {
  width: inherit;
  height: 36px;

  input {
    height: 36px;
    border: 1px solid #AAAAAA;
    border-radius: 4px;
    color: #333333;
  }

  input:hover, input:focus {
    border-color: $--color-primary-liyu;
  }

  //.el-input__inner::-webkit-input-placeholder {
  //  color: #999999;
  //}
  //.el-textarea__inner::-webkit-input-placeholder {
  //  color: #999999;
  //}
  .el-input__inner{
    padding:0 10px;
  }
}
.dialogInput-wrapper.el-input {
  min-width: 180px;
  height: 32px;

  input {
    height: 32px;
    border: 1px solid #AAAAAA;
    border-radius: 4px;
    color: #333333;
  }

  input:hover, input:focus {
    border-color: $--color-primary-liyu;
  }

  //.el-input__inner::-webkit-input-placeholder {
  //  color: #999999;
  //}
  //.el-textarea__inner::-webkit-input-placeholder {
  //  color: #999999;
  //}
  .el-input__inner{
    padding:0 10px;

  }
}
.tree-wrapper.el-tree{
  margin-top: 19px;
  .el-tree-node__content{
    min-height: 34px;
    line-height: 34px;
  }
  .el-tree-node__label,.custom-tree-node{
    font-size: 16px;
  }
  .el-tree-node:focus>.el-tree-node__content {
    background-color: rgba(24, 144, 255, 0.2);
    color: $--color-primary-liyu;
  }
  .el-tree-node__content:hover{
    background: rgba(24, 144, 255, 0.2);
  }
}


.importForm{
  .el-button{
    min-width: 80px !important;
  }
}
.upload-demo{
  .el-upload__tip{
    color: #FF3E3E;
  }
}

.table-wrapper.el-table{
    border: 1px solid #DDDDDD;
    .cell.el-tooltip{
      white-space: normal;
    }
    th{
      background-color: #EEEEEE !important;
      padding: 0;
    }
    th.is-leaf, td{
      border-right: 1px solid #DDDDDD;
    }
    td:not(:last-child){
      .cell{
        .el-link.el-link--primary{
          color: #333333;
        }
      }
    }
    .cell{
      .el-button{
        height: fit-content;
        min-width: fit-content;
        line-height: 22px;
      }
      .el-button+.el-button{
        margin-left: 16px;
      }
      .el-button:last-child{
        margin-right: 40px;
      }
      .el-button--text{
        font-size: 16px !important;

      }
    }
    tr.hover-row{
      background-color: #F5F7FA;
    }
    tr:nth-child(even){
      background: #FAFAFA;
    }
  }
.table-wrapper.listTable-wrapper{
  th{
    height: 46px;
    .cell{
      line-height: 46px;
    }
  }
}
.table-wrapper.dialogTbale-wrapper{
  th{
    .cell{
      line-height: 36px;
    }
    height: 36px !important;
  }
}

.inputAppend-wrapper.el-input.el-input-group{
  .el-input__inner{
    width: 208px;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    cursor: pointer;
  }
  .el-input__inner:hover{
    border-color: #AAAAAA !important;
  }
  .el-input-group__append{
    width: 40px;
    padding: 0;
    text-align: center;
    border: 1px solid #AAAAAA;
    position: relative;
    left: -2px;
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: $--color-primary-liyu;
    background: #FFFFFF;
    cursor: pointer;
  }

}
.inputAppend-wrapper.inputBox.el-input.el-input-group{
  .el-input__inner,.el-input-group__append{
    cursor: inherit;
  }
  .el-input-group__append{
    color: #333333;
  }
}

.el-link.el-link--primary.is-disabled {
  color: #C0C4CC !important;
}


.tableDialog.el-dialog__wrapper{
  .el-dialog{
    min-height: 300px;
    .el-dialog__body{
      padding: 20px !important;
      .container{
        height: inherit;
      }
    }
  }
}

.tableFormDialog.el-dialog__wrapper{
  .el-dialog{
    min-height: inherit;
  }
}
.detail-table{
  border: 1px solid #DDDDDD;
  border-bottom: none;
  td{
    padding: 12px 10px;
    //height: 40px;
    //line-height: 40px;
    border-right: 1px solid #DDDDDD;
    border-bottom: 1px solid #DDDDDD;
  }
  td:last-child{
    border-right: none !important;
  }
  .label-container{
    width: 115px;
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #999999;
  }
  .form-container{
    width: 252px;
    font-size: 14px;
    font-family: Microsoft YaHei;
    font-weight: 400;
    color: #333333;
  }
}

  .dialogSearch{
    width: 100%;
  }
  .dialogSearch>.el-input {
    width: 260px;
    height: 32px;

    input {
      width: 260px;
      height: 32px;
      border: 1px solid #AAAAAA;
      border-radius: 4px;
      color: #333333;
        padding: 0 30px 0 10px;
    }

    input:hover, input:focus {
      border-color: $--color-primary-liyu;
    }

    //.el-input__inner::-webkit-input-placeholder {
    //  color: #999999;
    //}
    //.el-textarea__inner::-webkit-input-placeholder {
    //  color: #999999;
    //}
    .el-input__suffix-inner{
      .el-icon-search{
        line-height: 32px !important;
      }
    }
  }

.state{
  font-size: 16px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  span{
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
    position: relative;
    top: -1px;
  }
}

.state.empty{
  color: #999999;
  span{
    background: #ADADAD;
  }
}
.state.normal{
  color: #1890FF;
  span{
    background: #1890FF;
  }
}
.state.process{
  color: #F59A23;
  span{
    background: #F59A23;
  }
}
.state.invalid{
  color: #FF3E3E;
  span{
    background: #FF3E3E;
  }
}
.state.success{
  color: #00A854;
  span{
    background: #00A854;
  }
}
.el-dialog{
  .state{
    font-size: 14px;
  }
}
//.tabHead.el-tabs{
//  .el-tabs__header{
//    margin-bottom: 10px;
//
//    .el-tabs__item{
//      padding: 0 10px !important;
//      font-size: 16px;
//      font-family: Microsoft YaHei;
//      font-weight: 400;
//    }
//    .el-tabs__active-bar{
//      left: -10px;
//      //width: 84px !important;
//    }
//    .el-tabs__nav-wrap::after{
//      //width: 168px;
//    }
//  }
//}

.columnLayout.container {
    width: 100%;
    display: flex;

  .left-container {
    width: 180px;
    overflow: auto; //!*当内容超过，出现滚动条*!
    background: #FFFFFF;
    box-shadow: 0px 0px 6px 0px rgba(4, 0, 0, 0.1);
    border-radius: 6px;
    // margin-right: 10px;
    height: 450px;
  }
  .right-container{
    width: calc(100% - 180px);
    flex: 1 ;
  }
  .right-container>div{
  padding-left: 10px;
  }
  .right-container>.el-input {
    width: 260px;
    height: 32px;

    input {
      width: 260px;
      height: 32px;
      border: 1px solid #AAAAAA;
      border-radius: 4px;
      color: #333333;
    }

    input:hover, input:focus {
      border-color: $--color-primary-liyu;
    }

    //.el-input__inner::-webkit-input-placeholder {
    //  color: #999999;
    //}
    //.el-textarea__inner::-webkit-input-placeholder {
    //  color: #999999;
    //}
    .el-input__suffix-inner{
      .el-icon-search{
        line-height: 32px;
      }
    }
  }
}

.multicolumn{
    >.container {
        display: flex;
        width: 100%;
        background-color: #F7F7F7;
        height: calc(100vh - 124px);
        margin: -20px;
    }
    .left-container {
        width: 220px;
        background-color: #ffffff;
        border-radius: 6px;
        .el-input {
            width: inherit;
            height: 36px;

            input {
                height: 36px;
                border: 1px solid #AAAAAA;
                border-radius: 4px;
                color: #333333;
            }

            input:hover, input:focus {
                border-color: $--color-primary-liyu;
            }

            .el-input__inner::-webkit-input-placeholder {
                color: #999999;
            }
          .el-textarea__inner::-webkit-input-placeholder {
            color: #999999;
          }
            .el-input__inner{
                padding:0 10px;
            }
        }
    }
    .right-container {
        margin-left: 10px;
        width: calc(100% - 230px);
        border-radius: 6px;
        background-color: #ffffff;
        padding-bottom: 20px;
        overflow-y: auto;
    }
}

.addForm-wrapper.el-dialog__wrapper .el-dialog{
  .el-form-item__content>.el-input,.el-textarea{
    width: 320px !important;
  }
  .el-form-item__content>.el-form-item:last-child{
    margin-bottom: 0 !important;
  }
  .inputAppend-wrapper{
    .el-input__inner{
      width: 279px;
    }
    .el-input-group__append{
      color: #333333;
    }
  }
  .el-button {
    min-width: 56px;
    height: 32px;
    font-size: 14px !important;
    border-radius: 4px !important;
    font-family: Microsoft YaHei;
    font-weight: 400;
    padding: 0;
    line-height: 30px;
  }

  .el-button--primary,.el-button--primary:visited {
    background: $--color-primary-liyu;
    color: #FFFFFF;
    margin-right: 5px;
  }

  // .el-button--primary:hover {
  //   background: #167AD9 !important;
  // }

  .el-button.el-button--default {
    background: #fff;
    border: 1px solid #AAAAAA;
    color: #666666;
  }

  .el-button.el-button--default:hover {
    color: $--color-primary-liyu;
    border-color: $--color-primary-liyu;
    background-color: #FFFFFF !important;
  }
  .el-form-item__content .number-wrapper{
    display: flex;
    .line{
      margin: 0 5px;
    }
      .el-checkbox{
          margin-left: 10px;
      }
    .el-input-number{
      width: 114px !important;
      .el-input__inner{
        width: inherit !important;
          min-width: 114px !important;
      }
    }
    .el-form-item{
      margin-bottom: 0 !important;
    }

  }
}

.add-btn{
  //margin-top: 5px;
  margin-bottom: 10px;
  .el-button.el-button--primary{
    min-width: 56px !important;
    height: 30px !important;
    line-height: 28px !important;
    margin-right: 0 !important;
  }
}

.adjustForm.el-form{
  .el-input__inner{
    width: 320px;
  }
  //.el-select{
  //  width: 320px !important;
  //}
}

.treeselect-adjust.vue-treeselect:not(.vue-treeselect--disabled):not(.vue-treeselect--focused) .vue-treeselect__control:hover{
  border-color: $--color-primary-liyu;
}
.treeselect-adjust.vue-treeselect{

  .vue-treeselect__control{
    //width: 320px;
      height: 32px;
    border: 1px solid #AAAAAA;
    border-radius: 4px;
      .vue-treeselect__input{
          //height: 30px;
      }
  }
  .vue-treeselect__placeholder{
    color: #999999;
  }
}

.el-dialog__wrapper .el-dialog .el-dialog__body .el-form .el-form-item{
  .areaselect-adjust.areaSelect{
    .el-select{
     // width: 100px !important;
      .el-input__inner{
        min-width: 100px !important;
      }
    }
  }
}

//联想输入框
.querySearch-autocomplete{
  color: #999999;
  margin-bottom: 5px;
  position: relative;
  .cardId{
    position: absolute;
    left: 28px;
    top: 24px;
    font-size: 14px;
    line-height: 14px;
  }
  .name-item{
    display: flex;
  }
  .name{
    margin-top: 3px;
    width: 28px;
    height: 28px;
    text-align: center;
    background: #EEEEEE;
    line-height: 28px;
    border-radius: 28px;
    margin-right: 5px;
  }

}
.querySearch-autocomplete.card{
  .name-item{
    padding-bottom: 10px;
  }
  .cardId{
    top: 30px;
    left: 32px;
    font-size: 12px;
  }
}
.el-autocomplete-suggestion li{
  padding: 0 10px !important;
}
.imageUploader{
    position: relative;
    .delBut{
        position: absolute;
        top: -13px;
        right: -4px;
        width: 13px;
        height: 13px;
    }
    .avatar-uploader{
        width: 104px;
        height: 104px;
        .el-upload {
            border: 1px solid #AAAAAA !important;
            border-radius: 6px;
            cursor: pointer;
            margin-left: -0px;
            overflow: visible;
            .avatar {
                width: 102px;
                height: 102px;
                display: block;
                object-fit: contain;
            }
            .avatar-uploader-icon {
                font-size: 28px;
                color: #8c939d;
                width: 102px;
                height: 102px;
                line-height: 102px !important;
                text-align: center;
            }
        }
    }
    .avatar-uploader .el-upload:hover {
        border-color: #409EFF;
    }
}
.el-dialog__wrapper .el-dialog{
    .headerMultiple{
        display: flex;
        >section:first-child{
            flex: 1;
            line-height: 30px;
            font-size: 16px;
            font-family: Microsoft YaHei;
            font-weight: 400;
            color: #999999;
        }
        >section{
            .el-button{
                min-width: 56px;
                height: 30px;
                margin-right: 0;
                line-height: 28px;
            }
        }
    }
}

.adjustDic.dictParent{
    .searchInput{
        width: 100%;
    }
    .dict_parentWrap{
        li{
            line-height: 32px !important;
            height: 32px !important;
        }

    }
}


.el-button.search-btn{
    color: $--color-primary-liyu !important;
    border: 1px solid $--color-primary-liyu !important;
    background: #FFFFFF !important;
    margin-right: 5px;
}

.right-but{
    .el-button{
      padding: 0 !important;
        img{
            height: 32px !important;
        }
    }
}

.adjustAppendTable.el-table{
    .el-table__body-wrapper tr:nth-child(even),.el-table__body-wrapper tr:nth-child(odd),.el-table__fixed-body-wrapper tr:nth-child(even),.el-table__fixed-body-wrapper tr:nth-child(odd){
        background: transparent !important;
    }
    .el-table__body-wrapper tr.success-row,.el-table__fixed-body-wrapper tr.success-row{
        background: #FFFFFF !important;
    }
    .el-table__body-wrapper tr.warning-row,.el-table__fixed-body-wrapper tr.warning-row{
        background: #F7F7F7 !important;
    }
    .el-table__body-wrapper .el-table__body tr:hover>td.el-table__expanded-cell{
        background: #FFFFFF !important;
    }
    //.el-table__fixed-right .el-table__fixed-body-wrapper .el-table__body tr:hover>td{
    //    background-color: #EBF5FE !important;
    //}
    td:first-child .cell{
        text-align: right;
    }
    th:nth-child(2) .cell,td:nth-child(2) .cell{
        padding: 0 !important;
      text-align: center;
    }
    .el-table__expand-icon{
        width: 12px;
        margin-left: 16px;
    }
    .el-table__expanded-cell{
        padding: 10px 90px;
        .append-form{
            .row-more{
                display: flex;
            }
            .el-form-item{
                margin-bottom: 0px;
                font-size: 14px;

                .el-form-item__label{
                    color: #999999;
                    text-align: left;
                  font-size: 14px !important;
                }
            }
            .el-form-item:last-child{
                margin-right: 0;
            }
        }

    }
    td:not(:last-child){
        .cell{
            .el-link:last-child .el-link--inner{
                margin-right: 0 !important;
            }
        }
    }
    .el-table.appendTable{
        th:not(:first-child),td:not(:first-child){
            .cell{
                text-align: left;
                padding: 0 20px;
            }
        }
        th:nth-child(2) .cell,td:nth-child(2) .cell{
            padding: 0 20px !important;
        }
    }
}
.selectBut{
   .el-button{
        cursor: not-allowed;
    }
}
.adjustInputAppend.el-input{
    .el-input__inner{
        padding-right: 47px !important;
    }
    .el-input__suffix{
        font-size: 14px;
        font-family: Microsoft YaHei;
        font-weight: 400;
        color: #999999;
        right: 8px;
    }
}
.adjustInputAppend.appendLess.el-input{
    .el-input__inner{
        padding-right: 30px !important;
    }
}
.selectInput.el-input{
    .el-input__inner{
        cursor: pointer;
    }
}

//.adjustRight-but.right-but{
//    .el-button{
//        min-width: inherit !important;
//        margin-right: 0;
//        margin-left: 0;
//        border: none;
//        img{
//            width: inherit !important;
//        }
//    }
//}
.right-but{
    margin-right: 1px;
    .el-button{
        min-width: inherit !important;
        margin-right: -1px !important;
        margin-left: 0 !important;
        border: none;
        img{
            width: inherit !important;
        }
    }
}


.adjustCondition.el-form{
    .el-form-item__label{
        font-size: 14px !important;
    }
    .el-radio-button__inner{
        font-size: 14px !important;
    }

}
.adjustCondition.el-form.less{

    .btn-content{
        bottom:20px !important;
    }
}

.adjustCondition.headerCondition{
    border-bottom: 1px solid #EEEEEE;
    .el-row{
        margin-bottom: 10px;
    }
}

.adjustDate.el-date-editor--datetimerange.el-input__inner{
    width: 370px;
}

.adjustButton{
  .el-button {
    min-width: 56px;
    height: 32px;
    font-size: 14px !important;
    border-radius: 4px !important;
    font-family: Microsoft YaHei;
    font-weight: 400;
    padding: 0;
    line-height: 30px;
  }

  .el-button--primary,.el-button--primary:visited {
    background: $--color-primary-liyu;
    color: #FFFFFF;
    //margin-right: 5px;
  }



  .el-button.el-button--default {
    background: #fff;
    border: 1px solid #AAAAAA;
    color: #666666;
  }

  .el-button.el-button--default:hover {
    color: $--color-primary-liyu;
    border-color: $--color-primary-liyu;
    background-color: #FFFFFF !important;
  }
}


.adjustDialogHeight{
  .el-dialog{
    .el-dialog__body{
      max-height: 580px;

    }
  }
}

.nightTop{
  background: #242B49 !important;
}
//.whiteCenter{
//  background: #fff !important;
//  .el-tabs__header{
//    background: #fff !important;
//    box-shadow: 0px 8px 40px 0px rgba(0, 38, 115, 0.08)!important;
//  }
//}
.nightCenter{
  background: #1C213E !important;
  min-height:100vh;
  .el-tabs__header{
    background: #1C213E !important;
  }
    &.jp-content > .el-tabs > .el-tabs__header {
        position: fixed;
        top: 60px;
        left: 230px;
        right: 0;
        padding: 0 95px 0 15px;
        background: #fff;
        display: block;
        z-index: 100;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        border-top: 1px solid rgb(20,20,41) !important;
        border-bottom: 1px solid rgb(20,20,41) !important;

    }
}
.nightBg{
  background: #1C213E !important;
}
.whiteBg{
  background: #fff !important;
}
.nightCenter.jp-content > .el-tabs > .el-tabs__header {
  border-top: 1px solid #1C213E !important;
  border-bottom: 1px solid #1C213E !important;
  box-shadow: 0px 8px 40px 0px rgba(0, 38, 115, 0.08);
}
.clear:after{
  clear: both;
  content: '';
  display: table;
}
.adjustTextArea.el-textarea{
  .el-textarea__inner{
    resize: none;
    min-height: 92px !important;
    border: 1px solid #AAAAAA;
    border-radius: 4px;
    padding: 5px 10px 37px;
    &::-webkit-input-placeholder {
      color: #999999;
    }
  }
}
